package com.itheima.d5_resource;

/*
     目标：认识try-catch-finally。
 */
public class Test1 {
    public static void main(String[] args) {
        try {
            int[] arr = {10, 22, 55};
            System.out.println(arr[0]);
            System.out.println(arr[1]);
            System.exit(0);
        } catch (Exception e) {
            System.out.println("yic");
        } finally {
            System.out.println("+++++++++++++++++++++++++++++");
        }
    }
}
